package com.qbccn.oauth2service.service;

import com.qbccn.dto.ResponseResultPage;
import com.qbccn.oauth2service.domain.SsoRole;
import com.qbccn.oauth2service.domain.SsoUser;
import com.qbccn.oauth2service.dto.MenuList;
import com.qbccn.oauth2service.dto.UserInfo;

import java.util.List;

public interface UserService {
    SsoUser getUserInfo(String username);

    UserInfo info(String username);

    List<SsoRole> getRoleByUserId(Integer userId);

    /**
     * 获得菜单
     */
    List<MenuList> getUserMenu(String username,String pertainSystem);
}
